import java.util.Scanner;

public class Homework2 {
    public static void main(String[] args) {
        Scanner a=new Scanner(System.in);
        System.out.println("输入张三的月考成绩");
        int num=a.nextInt();
        if (num!=60&&num<60){
            System.out.println("不合格");
        }else {
            System.out.println("合格");
        }
    }
}
